<template>
  <div><button @click="clear">清除token</button></div>
</template>
<script>
export default {
  methods: {
    clear() {
      localStorage.removeItem("token");
    },
  },
};
</script>
